<?php $this->load('header')?>

<div class="main">
	<h3 style="padding:5px;">
	<script type="text/javascript">say_hello();</script>
	<?php echo $this->user->username?>，你的身份是：
	<?php switch ($this->user->group) {
		case 'admin' : echo '管理员'; break;
		case 'author' : echo '作者'; break;
		case 'user' : echo '会员'; break;
		default :  echo '非法用户'; break;
	}?>
	</h3>
	<table class="sub panel" cellspacing="0">
		<tr>
			<th colspan="2" class="title">程序版本</th>
		</tr>
		<tr>
			<td colspan="2">
			<p>您当前使用的版本：<?php echo 'JBLOG v'.JBlog::VERSION.' ('.JBlog::RELEASE.')'?></p>
			<div id="jbloginfo">
			</div>
			</td>
		</tr>
		<tr>
			<th colspan="2" class="title">博客统计</th>
		</tr>
		<tr>
			<td width="250">日志统计：</td>
			<td><?php echo $postNum?></td>
		</tr>
		<tr>
			<td>评论统计：</td>
			<td><?php echo $commentNum?></td>
		</tr>
		<tr>
			<td>附件大小：</td>
			<td><?php echo $attachSize?></td>
		</tr>
		<tr>
			<td>数据库大小：</td>
			<td><?php echo $dbSize?></td>
		</tr>
		<tr>
			<th colspan="2" class="title">系统信息</th>
		</tr>
		<tr>
			<td>服务器解析引擎：</td>
			<td><?php echo $serverInfo?></td>
		</tr>
		<tr>
			<td>MySQL版本：</td>
			<td><?php echo $mysqlVersion?></td>
		</tr>
		<tr>
			<td>文件上传：</td>
			<td><?php echo $maxUpload?></td>
		</tr>
		<tr>
			<td>全局变量 register_globals：</td>
			<td><?php echo $registerGlobals?></td>
		</tr>
		<tr>
			<td>图形处理 GD Library：</td>
			<td><?php echo $gdVersion?></td>
		</tr>
		<tr>
			<td colspan="2"><a href="<?php echo URL('index.phpinfo')?>">更多信息&raquo;</a></td>
		</tr>
		<tr>
			<th colspan="2" class="title">开发团队</th>
		</tr>
		<tr>
			<td>程序开发：</td>
			<td><a href="http://www.lisijie.org" target="_blank">lixiaoxie</a></td>
		</tr>
		<tr>
			<td>美工制作：</td>
			<td><a href="http://www.lisijie.org" target="_blank">lixiaoxie</a></td>
		</tr>
		<tr>
			<td>官方网站：</td>
			<td><a href="http://www.lisijie.org" target="_blank">http://www.lisijie.org</a></td>
		</tr>
		<tr>
			<td>官方论坛：</td>
			<td><a href="http://www.lisijie.org/bbs" target="_blank">http://www.lisijie.org/bbs</a></td>
		</tr>
	</table>
</div>
<?php $this->load('footer')?>